package com.itheima.pojo;

import java.util.List;

public class PageBean2 {
    private int count;
    private List<UserOrders> userOrders;

    public PageBean2() {
    }

    public PageBean2(int count, List<UserOrders> userOrders) {
        this.count = count;
        this.userOrders = userOrders;
    }

    /**
     * 获取
     * @return count
     */
    public int getCount() {
        return count;
    }

    /**
     * 设置
     * @param count
     */
    public void setCount(int count) {
        this.count = count;
    }

    /**
     * 获取
     * @return userOrders
     */
    public List<UserOrders> getUserOrders() {
        return userOrders;
    }

    /**
     * 设置
     * @param userOrders
     */
    public void setUserOrders(List<UserOrders> userOrders) {
        this.userOrders = userOrders;
    }

    public String toString() {
        return "PageBean2{count = " + count + ", userOrders = " + userOrders + "}";
    }
}
